1bashThis demonstrates terminating all processes named foo forcefully using pkill.pkill -9 fooexternal toolspkillprocess termination
2bashThis demonstrates terminating processes by name using the pkill command.pkill fooexternal toolspkillprocess termination by name